/*
 * @Author: liuxiao
 * @Date: 2023-11-27 00:33:01
 * @Last Modified by: liuxiao
 * @Last Modified time: 2023-12-15 01:34:55
 * @ps: 分类路由层，转发匹配的路由交给控制器处理，可以处理多个中间件
 *
 */

const Router = require('koa-router')

//接口赋值，register
const { reqTest } = require('../controller/video.controller.js')

const router = new Router({ prefix: '/video' })

//GET请求,获取全部分类列表
router.get('/getVideo', (ctx) => {
  reqTest(ctx)
})

module.exports = router
